import Mock from '../../mockjs/dist/mock-min.js';

let system = [
	{
		key: "/login/jscode",
		method: "put",
		data: Mock.mock({
			'STATUS': "SUCCESS",
			'DATA': {
				"clientId": "1",
				"name": "测试客户",
				"sex": true,
				"age":20,
				"account": 'czscsad',
				"password": '123456',
				"headImg": '@image("75x75")',
				"openId": "adf",
				"point":1000,
				
				
			}
		})
	},
	{
	key: "/login/front-login-ap",
	method: "put",
	data: Mock.mock({
		'STATUS': "SUCCESS",
		'DATA': {
			'user': {
				'userId': '1',
				'account|6': /[a-z][A-Z][0-9]/,
				'tel|11': /[0-9]/,
				'empId': '11',
				'ct': '@datetime("yyyy-MM-dd hh:mm:ss")'
			},
		}
	})
},{
	key: "/login/front-login-tm",
	method: "put",
	data: Mock.mock({
		'STATUS': "SUCCESS",
		'DATA': {
			'user': {
				'userId': '1',
				'account|6': /[a-z][A-Z][0-9]/,
				'tel|11': /[0-9]/,
				'empId': '11',
				'ct': '@datetime("yyyy-MM-dd hh:mm:ss")'
			},
		}
	})
},
{
	key: "/login/front-login-sm",
	method: "post",
	data: Mock.mock({
		'STATUS': "SUCCESS",
		'DATA': {}
	})
}
];
export default system;
